package jmlee.basic;

import java.util.Scanner;

public class LeepYear {

	public static void main(String[] args) {
		int year;
		
		Scanner sc = new Scanner(System.in);
		System.out.print("연도입력 : ");
		year = sc.nextInt();
		
		if((year%4 == 0 && year%100 != 0) || year%400 ==0){
			System.out.println("윤년입니다.");
		}else{
			System.out.println("윤년이 아닙니다.");
		}
	}

}
